<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>作业</title>
    <script src="../../js/vue.js"></script>
  </head>
  <body>
    <div id="app">
      <h2>电影热映</h2>
      <ul>
        <li v-for="item in list">{{item}}</li>
      </ul>
    </div>
    <script>
      var v_app = new Vue({
        el: "#app",
        data: {
          list: ["流浪地球2", "满江红", "无名", "喜羊羊"],
        },
      })();
    </script>
  </body>
</html>
